Register Attendance

Attendance monitoring is in place. It is your responsability to ensure that you have signed yourself in.

Attendance monitoring is in place. It is your responsability to ensure that you have signed yourself in.

Learning Outcomes

After this session you will be able to:

Arduin Kits

Come up and collect your component kit:

Come up and collect your component kit:

What’s in the Bag?

Come up and collect your components:

Breadboard

Resistor

In electronic circuits, resistors are used to reduce current flow, adjust signal levels and divide voltages.

Light Emitting Diode (LED)

LEDs, being diodes, will only allow current to flow in one direction. And when there’s no current-flow, there’s no light. Luckily, this also means that you can’t break an LED by plugging it in backwards. Rather, it just won?t work.

Potentiometer (variable resistor)

Potentiometer is a small sized electronic component whose resistance can be adjusted manually. Increasing or decreasing the value of resistance controls the amount of current flowing in a circuit.

Button

A device for making and breaking the connection in an electric circuit.

Atmel ATmega328P

Block Diagram

Flash

SRAM

EEPROM

CPU

Clock

Ports

ADC

USART

SPI

What is an Arduino?

Rapid Prototyping Board

Rapid Prototyping Board

Final Form Factor

Space

The ArduSat satellites are powered by the Arduino Uno. It follows cube satellite (CubeSat) standards to build compact 10 cm cubes that can easily be sent to orbit.

Sea

The robotic prototype swimming under water propelled by fins, it was developed at the Control Systems and Robotics Laboratory of the Technological Educational Institute of Crete, in Heraklion (Greece) and it’s controlled by an Arduino Mega.

Philharmonia MusicLab

Philharmonia MusicLab

Philharmonia MusicLab

Philharmonia MusicLab

Philharmonia MusicLab

Sensors & Actuators

Just another input / output controller

Why Arduino?

  • Open Source
  • The Arduino is a small microcontroller board
  • Basically, a small computer
  • Perfect for rapid prototyping physical computing systems
  • Arduino Uno is based on the Atmel ATmega328P

The basics

The Arduino can only process electronic signals. This means that stimuli from the physical world need to be transduced to electrical signals before they can be processed from within your code.

  • 14 Digital IO pins (0-14)
  • 6 Analogue in pins(0-5)
  • 6 Analogue out pins(3,5,6,9,10, and 11) ~

Technical specs

A more in depth version of what the Arduino Uno has to offer()

Power

You can power the board using a USB port or DC power supply such as a 9v battery. The Arduino will default to the external power supply if there is one available. Arduino can be powered by a DC supply 7-12v but all signals are processed at 5v

Analogue vs. Digital Signal

What is the difference?

Analogue vs. Digital Signal

Analogue Out - PWM

Serial Communication

Serial communication on pins TX/RX uses TTL logic levels (5V or 3.3V depending on the board).

It communicates on digital pins 0 (RX) and 1 (TX) as well as with the computer via USB. Thus, if you use these functions, you cannot also use

pins 0 and 1 for digital input or output.

Serial is used for communication between the Arduino board and a computer or other devices.

Arduino

Shields

Open Source Game Boy Clone

Places to buy components

Insure that you buy your components from UK sellers, especially on Ebay

Driving Large Loads

See spec

Reverse Voltage

The Arduino should be protected from reverse voltage of solenoids, relays, motors and any other component that use coils. This can be done using a Diode. They act as a one way valve to channel the electric back into the coils.

Mains Electricity

There is never any reason why you should be working with mains electricity supply - stay below 12v and even then take care.

(assets/motor.png)

Programming for Arduino

The Arduino language is merely a set of C/C++ functions that can be called from your code. Your sketch undergoes minor changes (e.g. automatic generation of function prototypes) and then is passed directly to a C/C++ compiler (avr-g++).

https://www.arduino.cc/en/Reference/HomePage

HELLO ARDUINO